package com.lh.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lh.project.model.entity.CommentRel;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @Entity com.lh.project.model.entity.CommentRel
*/
public interface CommentRelMapper extends BaseMapper<CommentRel> {


    @Select("select child_id from comment_rel where parent_id = ${id}")
    List<Long> selectCommentReply(Long id);
}
